﻿using MvcApplication.Entity;
using System.Data.Entity.ModelConfiguration;

namespace MvcApplication.Data.Mapping
{
    public class Option_Mapping : EntityTypeConfiguration<Option>
    {
        public Option_Mapping()
        {
            this.HasKey(t => t.Name);
            this.ToTable("Option");
        }
    }
}
